const express=require('express')
const path =require('path')
const app=express()

app.use('/public',express.static(path.join(__dirname,'./static')))
const fileRouter=require('./router/filerouter')
app.use('/file',fileRouter)
app.listen(3000,()=>{
    console.log('服务器启动成功！')
})